403Webshell
Server IP : 198.38.84.71  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux 198-38-84-71.cprapid.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : vyaparmandaljobn ( 1020)
PHP Version : 8.3.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/vyaparmandaljobn/public_html/wp-content/plugins/pixfort-core/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/vyaparmandaljobn/public_html/wp-content/plugins/pixfort-core/functions/footer.php
<?php

/**
 * pixfooter custom meta fields.
 */

/* ---------------------------------------------------------------------------
 * Create new post type
 * --------------------------------------------------------------------------- */
function pix_pixfooter_post_type() {
	$pixfooter_item_slug = "pixfooter-item";

	$labels = array(
		'name' 					=> __('Footers', 'pixfort-core'),
		'singular_name' 		=> __('Footer item', 'pixfort-core'),
		'add_new' 				=> __('Add New Footer', 'pixfort-core'),
		'add_new_item' 			=> __('Add New Footer item', 'pixfort-core'),
		'edit_item' 			=> __('Edit Footer item', 'pixfort-core'),
		'new_item' 				=> __('New Footer item', 'pixfort-core'),
		'view_item' 			=> __('View Footer item', 'pixfort-core'),
		'search_items' 			=> __('Search Footer items', 'pixfort-core'),
		'not_found' 			=> __('No Footer items found', 'pixfort-core'),
		'not_found_in_trash' 	=> __('No Footer items found in Trash', 'pixfort-core'),
		'parent_item_colon' 	=> ''
	);

	$args = array(
		'labels' 				=> $labels,
		'menu_icon' 			=> PIX_CORE_PLUGIN_URI . 'functions/images/admin/footer-icon.svg',
		'public' 				=> true,
		'publicly_queryable' 	=> true,
		'has_archive' 			=> true,
		'show_ui' 				=> true,
		'query_var' 			=> true,
		'capability_type' 		=> 'post',
		'hierarchical' 			=> false,
		'menu_position' 		=> null,
		'exclude_from_search' 	=> true,
		'rewrite' 				=> array('slug' => $pixfooter_item_slug, 'with_front' => true),
		'supports' 				=> array('title', 'editor', 'author', 'revisions', 'custom-fields', 'excerpt', 'thumbnail', 'page-attributes'),
	);

	register_post_type('pixfooter', $args);

	register_taxonomy('pixfooter-types', 'pixfooter', array(
		'hierarchical' 			=> true,
		'label' 				=> __('pixfooter categories', 'pixfort-core'),
		'singular_label' 		=> __('pixfooter category', 'pixfort-core'),
		'rewrite'				=> true,
		'query_var' 			=> true
	));
}
add_action('init', 'pix_pixfooter_post_type');

// Yoast SEO Plugin fix
function my_remove_wp_seo_pixfooter_meta_box() {
	remove_meta_box('wpseo_meta', 'pixfooter', 'normal');
}
add_action('add_meta_boxes', 'my_remove_wp_seo_pixfooter_meta_box', 100);


/*-----------------------------------------------------------------------------------*/
/*	Styles & scripts
 /*-----------------------------------------------------------------------------------*/
function pix_pixfooter_admin_styles() {
	wp_enqueue_style('pix-meta', PIX_CORE_PLUGIN_URI . '/functions/css/pixbuilder.css', false, PLUGIN_VERSION, 'all');
	wp_enqueue_style('pix-meta2', PIX_CORE_PLUGIN_URI . '/functions/pixbuilder.css', false, PLUGIN_VERSION, 'all');
}
add_action('admin_print_styles', 'pix_pixfooter_admin_styles');

Youez - 2016 - github.com/yon3zu
LinuXploit